﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Media.Animation;

namespace XbdSoft.WPFVersion.UserControls
{
    /// <summary>
    /// Interaction logic for WaitingUserControl.xaml
    /// </summary>
    public partial class WaitingUserControl : UserControl
    {
        public WaitingUserControl()
        {
            InitializeComponent();
            //(this.Resources["storyboard"] as Storyboard).Begin();
            //this.storyboard.Begin();
        }
        /// <summary> 
        /// 标题 
        /// </summary> 
        public string Title
        {
            get { return this.titleText.Text; }
            set { this.titleText.Text = value; }
        }
        public void SetLoadingText(string text)
        {
            this.waitingText.Text = text;
        }
        public void SetLoadingText()
        {
            this.waitingText.Text = "正在处理,请稍候......";
        }

    }
}
